package com.bao1;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;


public class school {
    private String name;
    private int number;

    public void setName(String name) {
        this.name = name;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    @Override
    public String toString() {
        return "school{" +
                "name='" + name + '\'' +
                ", number=" + number +
                '}';
    }
}
